te:
>> Hi,
>> The following sample code is working well in the \startMPpage ~ \stopMPpage,
>> but is not working in the \startMPcode ~ \stopMPcode.
>> The error message is
>> \textfont0 is undefined (character 63)
>> l.6 \setstrut\strut $A$
>> If I remove “$
On 4/16/2020 8:36 PM, Jeong Dal wrote:
Hi,
The following sample code is working well in the \startMPpage ~
\stopMPpage, but is not working in the \startMPcode ~ \stopMPcode.
The error message is
\textfont0 is undefined (character 63)
l.6 \setstrut\strut $A$
If I remove “$” from the code
Hi,
The following sample code is working well in the \startMPpage ~ \stopMPpage,
but is not working in the \startMPcode ~ \stopMPcode.
The error message is
\textfont0 is undefined (character 63)
l.6 \setstrut\strut $A$
If I remove “$” from the code, it is also working in \startMPcode
Gerben Wierda schrieb am 05.04.2020 um 12:27:
On 5 Apr 2020, at 11:34, Hans Hagen wrote:
On 4/5/2020 12:29 AM, Gerben Wierda wrote:
I have a series of startMPpage—stopMPpage pairs (with MP code inbetween). These
now become separate pages in a single PDF. But I need them to become separate
> On 5 Apr 2020, at 12:27, Gerben Wierda wrote:
>
> Alternatively, I could have a step before this to turn the input XML into
> many separate XMLs and have many ConTeXt runs. Probably that is the best way
> to do it. Each generated XML would have all of the original XML except it
> would
> On 5 Apr 2020, at 11:34, Hans Hagen wrote:
>
> On 4/5/2020 12:29 AM, Gerben Wierda wrote:
>> I have a series of startMPpage—stopMPpage pairs (with MP code inbetween).
>> These now become separate pages in a single PDF. But I need them to become
>> separate PDF’s
On 4/5/2020 12:29 AM, Gerben Wierda wrote:
I have a series of startMPpage—stopMPpage pairs (with MP code inbetween). These
now become separate pages in a single PDF. But I need them to become separate
PDF’s each during my ConTeXt run, with a name of my own choosing. Is this
possible? I guess
I have a series of startMPpage—stopMPpage pairs (with MP code inbetween). These
now become separate pages in a single PDF. But I need them to become separate
PDF’s each during my ConTeXt run, with a name of my own choosing. Is this
possible? I guess this will be problematic, but one can hope
>>
>> The below MWE represent my MetaFun drawings file.
>> The idea is that by uncommenting the \enablemode[makepdf] I can create the
>> pdf file with drawings. It seems however that startMPpage does not accept
>> buffers (I also tried processbuffer and process
below MWE represent my MetaFun drawings file.
The idea is that by uncommenting the \enablemode[makepdf] I can create
the pdf file with drawings. It seems however that startMPpage does not
accept buffers (I also tried processbuffer and processMPbuffer).
Is it possible to somehow make this work?
Y
the \enablemode[makepdf] I can create the pdf
file with drawings. It seems however that startMPpage does not accept buffers
(I also tried processbuffer and processMPbuffer).
Is it possible to somehow make this work?
Thanks and regards,
Jan Willem Flamma
%\enablemode[makepdf]
\startbuffer[fig1]
draw
=marginedge, state=stop]
\starttext
% Title page
\startMPpage
% Some metafun
\stopMPpage
% Some text
\stoptext
The resulting pdf has a smaller first page (thesis size) while the
rest are A4 with the thesis pages place centrally. I would like to see
the title page
=on]
\setuppagenumbering
[alternative=doublesided, location=marginedge, state=stop]
\starttext
% Title page
\startMPpage
% Some metafun
\stopMPpage
% Some text
\stoptext
The resulting pdf has a smaller first page (thesis size) while the
rest are A4 with the thesis pages place centrally. I would like
2006/5/11, Hans Hagen [EMAIL PROTECTED]:
\definepapersize[thesis][width=169mm, height=239mm]
\setuppapersize[thesis][A4]
\definelayer[page][width=\paperwidth,height=\paperheight]
\starttext
\startTEXpage
\setlayer
[page]
[preset=lefttop,x=3cm,y=4cm]
Dear expertise,
I have the following:
\definepapersize[thesis][width=169mm, height=239mm]
\setuppapersize[thesis][A4]
\setuplayout
[location=middle, marking=on]
\setuppagenumbering
[alternative=doublesided, location=marginedge, state=stop]
\starttext
% Title page
\startMPpage
% Some metafun
]
\starttext
% Title page
\startMPpage
% Some metafun
\stopMPpage
% Some text
\stoptext
The resulting pdf has a smaller first page (thesis size) while the
rest are A4 with the thesis pages place centrally. I would like to see
the title page placed on an A4 sheet as well. What am I doing wrong
David Arnold wrote:
All,
Why doesn't this work?
%output=pdf
\startuseMPgraphic{usquare}
draw unitsquare scaled 4cm;
\stopuseMPgraphic
\starttext
\startMPpage
\useMPgraphic{square}
\stopMPpage
\stoptext
because you nest a graphic, kind of
beginfig(1) beginfig(2) draw unitsquare
David Arnold wrote:
Why doesn't this work?
%output=pdf
\startuseMPgraphic{usquare}
draw unitsquare scaled \MPvar{u};
\stopuseMPgraphic
\starttext
\startMPpage
\setupMPvariables[usquare][u=4cm]
\includeMPgraphic{usquare}
\stopMPpage
\stoptext
because
(1) after startMPpage metapost code
David Arnold wrote:
% \startMPpage
% \includeMPgraphic{EnglishRule}
% \stopMPpage
you can only include a simple usable graphic, defined with
\startuseMPgraphic; unique mp graphics are more tricky and involve
(once we have lua in tex we can find ways around this since then we can
(1
All,
Why doesn't this work?
%output=pdf
\startuseMPgraphic{usquare}
draw unitsquare scaled 4cm;
\stopuseMPgraphic
\starttext
\startMPpage
\useMPgraphic{square}
\stopMPpage
\stoptext
Why doesn't this work?
%output=pdf
\startuseMPgraphic{usquare}
draw unitsquare scaled \MPvar{u
Hi David,
without digging into depth, it works if you change MPpage into TEXpage
Willi
David Arnold wrote:
All,
Why doesn't this work?
%output=pdf
\startuseMPgraphic{usquare}
draw unitsquare scaled 4cm;
\stopuseMPgraphic
\starttext
\startMPpage
\useMPgraphic{square}
\stopMPpage
Hans, Taco, et al,
There's a quote in metafun-s.pdf (page 539) that says You can embed
the graphic in a \startMPpage construct and process it with TEXEXEC.
In that case you have the full MetaFun functionality available.
Before processing the file, TEXEXEC will do a couple of checks
22 matches
Mail list logo